package com.songlanyun.modules.signin.model.dto;

import java.util.Date;

import com.songlanyun.common.drive.ValueObject;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 签到管理-签到配置
 *
 * @author lijiahe
 * @date 2022-08-03
 */
@Data
public class SingInConfigDTO implements ValueObject {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 签到获得爱心值
     */
    @NotNull(message = "获得爱心值不能为空")
    private Integer loveValue;
    /**
     * 月度签到(0代表满勤，默认0)
     */
    @NotNull(message = "月度签到不能为空")
    private Integer monthSignIn;
    /**
     * 奖励优惠券
     */
    @NotBlank(message = "奖励优惠券不能为空")
    private String rewardCoupons;
    /**
     * 奖励张数
     */
    @NotNull(message = "奖励张数不能为空")
    private Integer numberRewards;
    /**
     * 签到规则
     */
    private String rules;

    private Long createBy;
    private Long updateBy;

}
